package concurrencyPractice.chapter04;

import concurrencyPractice.Immutable;

/**
 * @author xinya
 * @version 1.0
 * @project javacore
 * @description 程序4-6 在DelegatingVehicleTracker使用不可变Point类
 * @date 2023/12/28 16:23:21
 */
@Immutable
public class Point {
    public final int x, y;

    public Point(int x, int y) {
        this.x = x;
        this.y = y;
    }
}
